﻿using Microsoft.AspNetCore.Components;

namespace BBCore.Server.Components.Pages.Samples
{
    public partial class InputTextFocus
    {
        ElementReference textInput;
        protected override async Task OnAfterRenderAsync(bool first)
        {
            if (first)
            {
                await textInput.FocusAsync();
            }
        }

    }
}
